<!DOCTYPE html>
<html lang="zh-cmn-Hans"
      xmlns:th="http://www.thymeleaf.org" th:with="title= '岗位角色维护'">
<head th:replace="common/head :: common_header(~{::link},~{::script})">
    <link type="text/css" rel="stylesheet" th:href="@{/web/admin/positionrole/positionrole.css}"/>
    <script type="text/javascript" th:src="@{/web/admin/positionrole/positionrole.js}"></script>
</head>
<body>
<div style="padding:10px 10px 0;">
    <div class="search-bar">
        <div class="searchT-title">查询条件</div>
        <div class="search-content">
            <table width="100%" class="search">
                <tr>
                    <th width="10%"><span class="must-in">*</span>国地税类别:</th>
                    <td width="20%">
                        <select style="" id="sjDm"
                                class="form-control selectpicker select-fulllength"
                                data-live-search="false" th:remove="all-but-first">
                            <option th:each="sjMap : ${sjList}"
                                    th:value="${sjMap.sjDm}" th:text="${sjMap.sjMc}"></option>
                        </select>
                    </td>
                    <th width="10%">岗位分类：</th>
                    <td width="20%">
                        <select style="" id="gwflDm"
                                class="form-control selectpicker select-fulllength"
                                data-live-search="false">
                            <option value="">全部</option>
                            <option th:each="gwMap : ${gwflList}"
                                    th:value="${gwMap.GWFL_DM}" th:text="${gwMap.GWFLMC}"></option>
                        </select>
                    </td>
                    <th width="10%">岗位名称：</th>
                    <td width="30%">
                        <input id="jsnr" class="search-input" type="text">
                    </td>
                </tr>
                <tfoot>
                <tr>
                    <td colspan="6" style="text-align: center;">
                        <button class="button-b button-primary" type="button" onclick="queryGwLb()"><i
                                class="fa fa-search"></i>查询
                        </button>
                    </td>
                </tr>
                </tfoot>
            </table>
        </div>
    </div>
    <div class="example-content">
        <div class="table-content">
            <div class="result-title" style="margin-bottom: 10px;margin-top: 10px;">岗位角色列表</div>
            <table id="tt" style="width:100%;height:auto"
                   title="DataGrid - CardView" singleSelect="false" scrollbarSize="0" fitColumns="false" remoteSort="false"
                   url="" pagination="true">
                </tbody>
            </table>
        </div>
    </div>
    <div id="js_win">
        <div style="margin-left: 0px;width: 100%;height: 100%;">
            <div>
                <div class="searchT-title" style="text-align: center">角色维护</div>
            </div>
            <div class="easyui-panel cssnj-bar no-border" style="padding:5px;bottom:0px;float: left">
                <a href="#" class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-ok'" onclick="saveGwJs();">确认</a>
                <a href="#" class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-no'"
                   onclick="$('#js_win').window('close');">取消</a>
            </div>
            <div class="search-content">
                <ul id="js_tree"></ul>
            </div>
        </div>
    </div>
</div>
</body>
</html>
